package com.kgc.scd.bean;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * shop_coupon
 * @author 
 */
@Data
public class ShopCoupon {
    private String id;

    private String name;

    /**
     * 优惠价格
     */
    private double typeMoney;

    /**
     * 最低价格优惠
     */
    private double minGoodsAmount;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date expirationTime;

    /**
     * 需要的积分
     */
    private int needIntegration;

    /**
     * 数量
     */

    private int num;

    /**
     * 种类
     */

    private String categoryId;



}